﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace IdentityAtRest.Utility.Identity.Authorization
{
    public interface IAuthorizationManager
    {
        IList<IAuthorizationDecision> Authorize(IList<IClaim> userClaims, params string[] requestedPermissions);
        bool IsAuthorized(IList<IClaim> userClaims, params string[] requestedPermissions);
    }
}
